package indi.jp.project.business.jingying.service;

import indi.jp.project.core.entity.JsonResult;
import indi.jp.project.business.jingying.entity.JyProject;
import indi.jp.project.business.jingying.entity.JyProjectTrace;

import java.sql.SQLException;
import java.util.Map;

public interface JyProjectService {

    Map<String, Object> queryGrid(JyProject entity) throws SQLException;

    JsonResult save(JyProject entity) throws SQLException;

    int deleteById(String id) throws SQLException;

    JyProject queryDetailById(String id) throws SQLException;

    Map<String, Object> queryProjectTraceGrid(JyProjectTrace entity) throws SQLException;

    int saveProjectTrace(JyProjectTrace entity) throws SQLException;

    int deleteProjectTraceById(String id) throws SQLException;
}
